WASTE is a text editing library for Macintosh programmers.
Designed to be a viable replacement for TextEdit, WASTE offers several enhancements, the major one being the ability to handle text files larger than 32K.
Like TextEdit, WASTE handles multi-styled text and relies on the services offered by the Script Manager for drawing, measuring and hit-testing the text and for finding word and line breaks. The built-in support for inline input makes WASTE fully WorldScript II-compliant (on the other hand, bidirectional scripts, like Arabic, are not supported).
This document is provided mainly to give you an opportunity to play with the WASTE Demo application; the real documentation (in Microsoft Word format) is in a separate file.
Send comments and suggestions to the author at the following address:
Marco Piovanelli
Mail: 26, via del Sebino — I-25126 Brescia — Italy
Internet: piovanel@dsi.unimi.it
PS: I read my Internet mail only once or twice a week, so don’t expect prompt replies.
Changes from version 1.0
There are lots of changes from version 1.0, but I still haven’t completed the new documentation, sorry. Furthermore, the header files aren’t complete either, since the new API isn’t frozen yet. WASTE 1.1a4 offers:
• Support for the Drag Manager.
• Built-in undo.
• Intelligent cut-and-paste rules (also applied to drag-and-drop text editing).
• Embedded pictures. To see this in action, paste a picture from the Clipboard into a WASTE Demo document. Unfortunately, this is the area where the API needs more additions. When it’s complete, it should be possible to insert arbitrary “objects” in the text stream.
CWASTE and the CWASTEText Classes
Dan Crevier (dan@rhino.harvard.edu) wrote CWASTE, a straight port of WASTE 1.0 to C and the CWASTEText Classes, a set of wrapper C++ classes for WASTE, to be used in conjunction with the THINK Class Library (version 2.0.3 or newer). Both are available from your favorite info-mac mirror: check them out.
WASTE Mailing List
A simple, informal mailing list has been set up to keep in touch developers working with/on WASTE. Send mail to waste@umich.edu for more information.